﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RoccaStore.Services
{
    public interface IAddressBookService
    {
        List<Contact> GetByAccountID(int accountId);
        Contact GetByID(int id);
        int Save(Contact addressBook);

        Contact Create(string email, int? accountId);

        Contact GetByEmail(string email, int? accountId);
        List<Contact> GetBySearchTerm(string searchTerm, int? accountId);
    }
}
